Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Flame: Fix default argument value in custom dictionary #2339

Merged
merged 2 commits into from
Dec 2, 2021

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Nov 29, 2021

Description

Pop method in custom dictionary has default value object() which is called at runtime and then is checked if default is object() which will never be true because those are 2 different object pointers (Bug disceverd during PR #2186).

Changes

  • just use passed args and kwargs to master's pop

@iLLiCiTiT iLLiCiTiT self-assigned this Nov 29, 2021
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Nov 29, 2021
Copy link
Member

@jakubjezek001 jakubjezek001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works well

@jakubjezek001 jakubjezek001 merged commit eecba17 into develop Dec 2, 2021
@jakubjezek001 jakubjezek001 deleted the bugfix/flame_fix_pop_default_value branch December 2, 2021 20:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants